package cn.iocoder.yudao.module.design.convert.projectmanager;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.design.controller.admin.projectmanager.vo.ProjectManagerCreateReqVO;
import cn.iocoder.yudao.module.design.controller.admin.projectmanager.vo.ProjectManagerExcelVO;
import cn.iocoder.yudao.module.design.controller.admin.projectmanager.vo.ProjectManagerRespVO;
import cn.iocoder.yudao.module.design.controller.admin.projectmanager.vo.ProjectManagerUpdateReqVO;
import cn.iocoder.yudao.module.design.dal.dataobject.projectmanager.ProjectManagerDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 认证项目经理 Convert
 *
 * @author czw
 */
@Mapper
public interface ProjectManagerConvert {

    ProjectManagerConvert INSTANCE = Mappers.getMapper(ProjectManagerConvert.class);

    ProjectManagerDO convert(ProjectManagerCreateReqVO bean);

    ProjectManagerDO convert(ProjectManagerUpdateReqVO bean);

    ProjectManagerRespVO convert(ProjectManagerDO bean);

    List<ProjectManagerRespVO> convertList(List<ProjectManagerDO> list);

    PageResult<ProjectManagerRespVO> convertPage(PageResult<ProjectManagerDO> page);

    List<ProjectManagerExcelVO> convertList02(List<ProjectManagerDO> list);

}
